// import React from 'react'
// // import { Search } from 'antd-mobile';
// import { SearchBar } from 'antd-mobile';
// import { withRouter } from "react-router-dom"
// function SearchList() {
//     return (
//         <div>
//             {/* <Search placeholder="Search" maxLength={8} onSubmit={() => this.props.history.push("/search")} /> */}

//             <SearchBar
//                 placeholder="搜索"
//             />
//         </div>
//     )
// }

// export default withRouter(SearchList)

import React, { Component } from 'react'
import { withRouter } from 'react-router-dom'
import { SearchBar } from 'antd-mobile';
class SearchList extends Component {
    render() {
        return (
            <div>
                  <SearchBar
                placeholder="搜索"
            />
            </div>
        )
    }
}
export default withRouter(SearchList)